package com.hs.device.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * detector
 * </p>
 *
 * @author Ding
 * @since 2022-07-20
 */
@Data
@ApiModel(value = "Detector对象", description = "detector")
public class Detector implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("地磁名称")
      private String name;

      @ApiModelProperty("路段id")
      private Long roadId;

      @ApiModelProperty("泊位id")
      private Long berthId;


      @ApiModelProperty("地磁状态")
      private Integer status;

      @ApiModelProperty("车位状态")
      private Integer haveCar;

      @ApiModelProperty("驶出时间")
      private Date outTime;

      @ApiModelProperty("驶入时间")
      private Date enterTime;

      @ApiModelProperty("创建时间")
      private Date buildTime;


}
